package com.module.admin.prj.pojo;

import java.io.Serializable;
import java.util.Date;
import java.util.Map;

import org.apache.ibatis.type.Alias;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;
import com.system.comm.model.BaseEntity;

/**
 * prj_version实体
 * @author yuejing
 * @date 2016-10-19 15:55:36
 * @version V1.0.0
 */
@Alias("prjVersion")
@SuppressWarnings("serial")
@JsonInclude(Include.NON_NULL)
public class PrjVersion extends BaseEntity implements Serializable {
	//项目编号
	private Integer prjId;
	//版本号
	private String version;
	//描叙
	private String remark;
	//添加时间
	private Date createTime;
	//添加人
	private Integer userId;
	//是否发布
	private Integer isRelease;
	//版本所在的路径
	private String pathUrl;
	//回滚版本
	private String rbVersion;
	
	//是否定时发布
	private Integer isRelTime;
	//定时发布时间
	private Date relTime;
	//定时发布状态[10待发布、20发布中，30发布失败、40发布成功]
	private Integer relStatus;
	//定时发布结果
	private String relMsg;
	
	// 部署类型[10发布包、20GIT部署]
	private Integer deployType;
	// git部署信息
	private String gitInfo;
	// Maven的信息
	private String mavenInfo;
	// 是否首次部署
	private Integer isFirstDeploy;
	
	//========================= 扩展属性
	// 是否发布名称
	private String isReleaseName;
	// Git部署信息Map
	private Map<String, Object> gitInfoMap;
	// Maven的信息Map
	private Map<String, Object> mavenInfoMap;
	
	public Integer getPrjId() {
		return prjId;
	}
	public void setPrjId(Integer prjId) {
		this.prjId = prjId;
	}
	
	public String getVersion() {
		return version;
	}
	public void setVersion(String version) {
		this.version = version;
	}
	
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	
	public String getRbVersion() {
		return rbVersion;
	}
	public void setRbVersion(String rbVersion) {
		this.rbVersion = rbVersion;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	
	public Integer getUserId() {
		return userId;
	}
	public void setUserId(Integer userId) {
		this.userId = userId;
	}
	
	public Integer getIsRelease() {
		return isRelease;
	}
	public void setIsRelease(Integer isRelease) {
		this.isRelease = isRelease;
	}
	
	public String getPathUrl() {
		return pathUrl;
	}
	public void setPathUrl(String pathUrl) {
		this.pathUrl = pathUrl;
	}
	public String getIsReleaseName() {
		return isReleaseName;
	}
	public void setIsReleaseName(String isReleaseName) {
		this.isReleaseName = isReleaseName;
	}
	public Integer getIsRelTime() {
		return isRelTime;
	}
	public void setIsRelTime(Integer isRelTime) {
		this.isRelTime = isRelTime;
	}
	public Date getRelTime() {
		return relTime;
	}
	public void setRelTime(Date relTime) {
		this.relTime = relTime;
	}
	public Integer getRelStatus() {
		return relStatus;
	}
	public void setRelStatus(Integer relStatus) {
		this.relStatus = relStatus;
	}
	public String getRelMsg() {
		return relMsg;
	}
	public void setRelMsg(String relMsg) {
		this.relMsg = relMsg;
	}
	public Integer getDeployType() {
		return deployType;
	}
	public void setDeployType(Integer deployType) {
		this.deployType = deployType;
	}
	public String getGitInfo() {
		return gitInfo;
	}
	public void setGitInfo(String gitInfo) {
		this.gitInfo = gitInfo;
	}
	public Map<String, Object> getGitInfoMap() {
		return gitInfoMap;
	}
	public void setGitInfoMap(Map<String, Object> gitInfoMap) {
		this.gitInfoMap = gitInfoMap;
	}
	public String getMavenInfo() {
		return mavenInfo;
	}
	public void setMavenInfo(String mavenInfo) {
		this.mavenInfo = mavenInfo;
	}
	public Map<String, Object> getMavenInfoMap() {
		return mavenInfoMap;
	}
	public void setMavenInfoMap(Map<String, Object> mavenInfoMap) {
		this.mavenInfoMap = mavenInfoMap;
	}
	public Integer getIsFirstDeploy() {
		return isFirstDeploy;
	}
	public void setIsFirstDeploy(Integer isFirstDeploy) {
		this.isFirstDeploy = isFirstDeploy;
	}
}